#ifndef _hardiic_h
#define _hardiic_h
 
#include "sys.h"
extern   u32 ulTimeOut_Time;
extern unsigned char I2C_Err;
void IIC_Config(void);
uint8_t I2C_ReadOneByte(I2C_TypeDef *I2Cx,uint8_t I2C_Addr,uint8_t Reg_addr);
void I2C_WriteOneByte(I2C_TypeDef *I2Cx,uint8_t I2C_Addr,uint8_t Reg_addr,uint8_t value);
#endif  
